package com.starrk.myblog.foreground.service;

import com.starrk.myblog.foreground.entity.Authority;
import com.starrk.myblog.foreground.entity.Role;
import com.starrk.myblog.foreground.entity.TbBlogger;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;
import java.util.Set;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Starrk
 * @since 2018-03-25
 */
public interface MPTbBloggerService extends IService<TbBlogger> {
    public List<Authority> findAuthorityByBloggerId(Long bloggerId);

    public List<Role> findRolesByBloggerId(Long bloggerId);


    public List<Authority> findAuthorityByUsername(String username);

    public List<Role> findRolesByUsername(String username);
}
